]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: fix signal name
authorGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 19 Aug 2013 21:38:59 +0000 (23:38 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Sat, 31 Aug 2013 16:52:01 +0000 (18:52 +0200)
There is no state-changed signal on NMActiveConnection

https://bugzilla.gnome.org/show_bug.cgi?id=706262

js/ui/status/network.js

index f08f57d76ae1a7286ea30406e6951f6c8ec08b39..169400cad4c6d2e03a2077b87173909224744018 100644 (file)
@@ -141,7 +141,7 @@ const NMConnectionItem = new Lang.Class({
         this._activeConnection = activeConnection;
 
         if (this._activeConnection)
-            this._activeConnectionChangedId = this._activeConnection.connect('state-changed',
+            this._activeConnectionChangedId = this._activeConnection.connect('notify::state',
                                                                              Lang.bind(this, this._connectionStateChanged));
 
         this._sync();